package com.msimw.demo.service;


import com.msimw.demo.api.IDemoService;
import com.msimw.demo.dto.Demo;
import com.msimw.validation.annotation.NotEmpty;
import com.msimw.validation.annotation.Validated;

/**
 * Created by msimw on 17-9-15.
 */
@Validated
public class DemoServiceImpl implements IDemoService {

    @Override
    public void add(@NotEmpty String id) {

    }

    @Override
    public void add1(@Validated Demo demo) {

    }
}
